package net.bolue.sysmng.db.metadata;

/**
 * 数据表列
 * @author Administrator
 *
 */
public class ColMetaData {
	
	/**
	 * 表限定符
	 */
	private String tableCat;
	
	/**
	 * 表所有者
	 */
	private String tableSchema;
	
	/**
	 * 表名
	 */
	private String tableName;
	
	/**
	 * 列名
	 */
	private String columnName;
	
	/**
	 * 数据类型
	 */
	private Integer dataType;
	
	/**
	 * 数据类型名称
	 */
	private String typeName;
	
	/**
	 * 最大长度
	 */
	private Integer columnSize;
	
	/**
	 * 是否为空，如果列允许 NULL，那么该列返回 YES。否则，返回 NO
	 */
	private String isNullable;
	
	private Integer nullable;
	
	/**
	 * 字节为单位的最大长度
	 */
	private Integer charOctetLength;
	
	/**
	 * 列的默认值
	 */
	private String columnDef;
	
	/**
	 * 列标识号
	 */
	private Integer ordinalPosition;
	
	/**
	 * 备注
	 */
	private String remarks;

	public String getTableCat() {
		return tableCat;
	}

	public void setTableCat(String tableCat) {
		this.tableCat = tableCat;
	}

	public String getTableSchema() {
		return tableSchema;
	}

	public void setTableSchema(String tableSchema) {
		this.tableSchema = tableSchema;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public Integer getDataType() {
		return dataType;
	}

	public void setDataType(Integer dataType) {
		this.dataType = dataType;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Integer getColumnSize() {
		return columnSize;
	}

	public void setColumnSize(Integer columnSize) {
		this.columnSize = columnSize;
	}

	public String getIsNullable() {
		return isNullable;
	}

	public void setIsNullable(String isNullable) {
		this.isNullable = isNullable;
	}

	public Integer getCharOctetLength() {
		return charOctetLength;
	}

	public void setCharOctetLength(Integer charOctetLength) {
		this.charOctetLength = charOctetLength;
	}

	public String getColumnDef() {
		return columnDef;
	}

	public void setColumnDef(String columnDef) {
		this.columnDef = columnDef;
	}

	public Integer getOrdinalPosition() {
		return ordinalPosition;
	}

	public void setOrdinalPosition(Integer ordinalPosition) {
		this.ordinalPosition = ordinalPosition;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getNullable() {
		return nullable;
	}

	public void setNullable(Integer nullable) {
		this.nullable = nullable;
	}

}
